﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ClassLibrary1
{
    class Element
    {
        public string tagName = string.Empty;
        public string tagValue = string.Empty;
        public string tableName = string.Empty;
        public bool isPK = false;
        public bool isTagOnly = false;
        public Type tagType = null;
        public Element parent = null;


        public Element(string tagName)
        {
            this.tagName = tagName;
        }

        public Element(string tagName, string tagValue)
        {
            this.tagName = tagName;
            this.tagValue = tagValue;
        }
        public Element(string tagName, string tagValue, Element parent)
        {
            this.tagName = tagName;
            this.tagValue = tagValue;
            this.parent = parent;
        }

    }
}
